--- /dev/null
+Description: Fix mpi4py search
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2021-09-17
+
+--- vtk9-9.0.3+dfsg1.orig/Parallel/MPI4Py/vtk.module
++++ vtk9-9.0.3+dfsg1/Parallel/MPI4Py/vtk.module
+@@ -12,4 +12,3 @@ DEPENDS
+ PRIVATE_DEPENDS
+ VTK::ParallelMPI
+ VTK::mpi
+- VTK::mpi4py
81_allow_gles_platforms.patch
82_allow_gles_platforms.patch
83_allow_gles_platforms.patch
-90_fix_freetype_compilation.patch
95_java_mach-arch_fix.patch
97_reproducible_builds.patch
+98_fix_mpi4py.py
-DVTK_GROUP_ENABLE_Qt:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL:STRING="NO" \
-DVTK_GROUP_ENABLE_Rendering:STRING="YES" \
+ -DVTK_GROUP_ENABLE_StandAlone:STRING="YES" \
-DVTK_GROUP_ENABLE_Views:STRING="YES" \
+ -DVTK_GROUP_ENABLE_MPI:STRING="YES" \
+ -DVTK_GROUP_ENABLE_Imaging:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \
-DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \
-DVTK_USE_TK=ON \
-DVTK_WRAP_PYTHON=ON \
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DVTK_MODULE_ENABLE_VTK_ParallelMPI:STRING="YES" \
+ -DVTK_USE_MPI=ON \
+
override_dh_auto_configure:
dh_auto_configure -- $(extra_flags)